home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc / OpenDoc Development / Debugging Support / OpenDoc™ Source Code / UI / DispMod.cpp < prev    next >
Encoding:
C/C++ Source or Header  |  1996-08-28  |  1.7 KB  |  66 lines  |  [TEXT/MPS ]

  1. /*
  2.     File:        DispMod.cpp
  3.  
  4.     Contains:    Implementation of ODDispatchModule
  5.  
  6.     Owned by:    Chris Linn
  7.  
  8.     Copyright:    © 1994 - 1996 by Apple Computer, Inc., all rights reserved.
  9.  
  10.     Change History (most recent first):
  11.  
  12.          <2>     6/21/96    CSL        1343659: ODDispatchModule should be
  13.                                     dyanamic SOM class.
  14.          <6>     8/15/95    RR        #1276680 Removed redundant fields, and
  15.                                     uninit and Purgeoverrides.
  16.          <5>      8/3/95    RR        #1257260: Collapse B classes. Remove
  17.                                     somInit methods. Don't call IsInitialized
  18.                                     or SubclassResponsibility
  19.          <4>     6/15/95    RR        #1254828/1255536 Added eventInfo to
  20.                                     Dispatch
  21.          <3>     5/26/95    RR        #1251403: Multithreading naming support
  22.          <2>     4/13/95    RR        # 1216618 Added SOM_TRY
  23.          <1>     9/26/94    RR        first checked in
  24.  
  25.     To Do:
  26. */
  27.  
  28.  
  29. /*
  30.  *  This file was generated by the SOM Compiler.
  31.  *  Generated using: 
  32.  *      SOM Emitter emitxtm.dll: somc/smmain.c
  33.  */
  34.  
  35. #define ODDispatchModule_Class_Source
  36. #define VARIABLE_MACROS
  37. #include <DispMod.xih>
  38.  
  39. SOM_Scope void  SOMLINK ODDispatchModuleInitDispatchModule(ODDispatchModule *somSelf, Environment *ev,
  40.         ODSession* session)
  41. {
  42.     //ODDispatchModuleData *somThis = ODDispatchModuleGetData(somSelf);
  43.     ODDispatchModuleMethodDebug("ODDispatchModule","ODDispatchModuleInitDispatchModule");
  44.         
  45.     SOM_TRY
  46.         
  47.         somSelf->InitObject(ev);
  48.         
  49.         SOMClass* cls = somSelf->somGetClass();
  50.         cls->somMakeDynamicClassReference();
  51.         somReleaseClassReference ( cls );
  52.  
  53.     SOM_CATCH_ALL
  54.     SOM_ENDTRY
  55. }
  56.  
  57. SOM_Scope ODBoolean  SOMLINK ODDispatchModuleDispatch(ODDispatchModule *somSelf, Environment *ev,
  58.         ODEventData* event,
  59.         ODEventInfo* eventInfo)
  60. {
  61.     ODDispatchModuleMethodDebug("ODDispatchModule","ODDispatchModuleDispatch");
  62.  
  63.     return kODFalse;
  64. }
  65.  
  66.